package com.ws.ssmzongjie3.bean;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@Data
public class Route {
    private Integer route_id;//路线id
    private Integer column_id;//栏目id
    private Integer business_id;//商家id
    private String route_name;//路线名称
    private String route_start_place;//出发地
    private String route_end_place;//目的地
    private String route_price;//价格
    private String route_day;//天数
    private String description;//路线描述
    private String carousel;//是否轮播
    private String route_photo;//路线图片（主图）
    private String route_type;//路线类型（栏目id）
    private String route_special;//是否特价
    private String sales;//销量
    private String recommend;//推荐
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String create_time;//创建时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String update_time;//修改时间
    private Integer is_delete;//是否删除
    private Business business;//商家
    private Column columns;//栏目
    private Carousel carousels;
    private List<Route_Map> routeMaps;

    UserLikes likes;//点赞
    Collections collections;//收藏
    Orders orders;//订单
    private Integer like_count; // 点赞数
    private Integer collection_count; // 收藏数
    private User user;


}
